﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Data_Objects.Implementation;
namespace Data_Objects
{
    public static class DataAccess
    {
        public static IUserDao UserDao
        {
            get { return new SqlServerUserDao(); }
        }
        public static IStudentDao StudentDao
        {
            get { return new SqlServerStudentDao(); }
        }
        public static IBaoAnDao BaoAnDao
        {
            get { return new SqlServerBaoAnDao(); }
        }
        public static IBienLaiThuChiTietDao BienLaiThuChiTietDao
        {
            get { return new SqlServerBienLaiThuChiTietDao(); }
        }

        public static IBienLaiThuDao BienLaiThuDao
        {
            get { return new SqlServerBienLaiThuDao(); }
        }

        public static IBienLaiTraChiTietDao BienLaiTraChiTietDao
        {
            get { return new SqlServerBienLaiTraChiTietDao(); }
        }


        public static IBienLaiTraDao BienLaiTraDao
        {
            get { return new SqlServerBienLaiTraDao(); }
        }


        public static IBlockDao BlockDao
        {
            get { return new SqlServerBlockDao(); }
        }

        public static IClassDao ClassDao
        {
            get { return new SqlServerClassDao(); }
        }


        public static IChiTietThanhPhanThucPhamDao ChiTietThanhPhanThucPhamDao
        {
            get { return new SqlServerChiTietThanhPhanThucPhamDao(); }
        }

        public static IDanhMucThuChiDao DanhMucThuChiDao
        {
            get { return new SqlServerDanhMucThuChiDao(); }
        }

        public static IDiemDanhDao DiemDanhDao
        {
            get { return new SqlServerDiemDanhDao(); }
        }

        public static IDinhMucThuDao DinhMucThuDao
        {
            get { return new SqlServerDinhMucThuDao(); }
        }

        public static IDonViTinhDao DonViTinhDao
        {
            get { return new SqlServerDonViTinhDao(); }
        }

        public static IKhauPhanAnChiTietDao KhauPhanAnChiTietDao
        {
            get { return new SqlServerKhauPhanAnChiTietDao(); }
        }

        public static IKhauPhanAnDao KhauPhanAnDao
        {
            get { return new SqlServerKhauPhanAnDao(); }
        }

        public static IMauSuatAnChiTietDao MauSuatAnChiTietDao
        {
            get { return new SqlServerMauSuatAnChiTietDao(); }
        }

        public static IMauSuatAnDao MauSuatAnDao
        {
            get { return new SqlServerMauSuatAnDao(); }
        }

        public static INationalitieDao NationalitieDao
        {
            get { return new SqlServerNationalitieDao(); }
        }

        public static INhanVienDao NhanVienDao
        {
            get { return new SqlServerNhanVienDao(); }
        }

        public static INhomTuoiDao NhomTuoiDao
        {
            get { return new SqlServerNhomTuoiDao(); }
        }

        public static INhomThucPhamDao NhomThucPhamDao
        {
            get { return new SqlServerNhomThucPhamDao(); }
        }

        public static IPhanCongGiangDayDao PhanCongGiangDayDao
        {
            get { return new SqlServerPhanCongGiangDayDao(); }
        }

        public static IPhanLopDao PhanLopDao
        {
            get { return new SqlServerPhanLopDao(); }
        }

        public static IPhieuChiChiTietDao PhieuChiChiTietDao
        {
            get { return new SqlServerPhieuChiChiTietDao(); }
        }

        public static IPhieuChiDao PhieuChiDao
        {
            get { return new SqlServerPhieuChiDao(); }
        }

        public static IPhongBanDao PhongBanDao
        {
            get { return new SqlServerPhongBanDao(); }
        }

        public static ISchoolDao SchoolDao
        {
            get { return new SqlServerSchoolDao(); }
        }

        public static ISchoolYearDao SchoolYearDao
        {
            get { return new SqlServerSchoolYearDao(); }
        }

        //public static IStudentDao StudentDao
        //{
        //    get { return new SqlServerStudentDao(); }
        //}

        public static IStuReviewDao StuReviewDao
        {
            get { return new SqlServerStuReviewDao(); }
        }

        public static ITaiSanDao TaiSanDao
        {
            get { return new SqlServerTaiSanDao(); }
        }

        public static ITieuChuanDinhDuongDao TieuChuanDinhDuongDao
        {
            get { return new SqlServerTieuChuanDinhDuongDao(); }
        }

        public static IThanhPhanThucPhamDao ThanhPhanThucPhamDao
        {
            get { return new SqlServerThanhPhanThucPhamDao(); }
        }

        public static ITheoDoiThiDuaDao TheoDoiThiDuaDao
        {
            get { return new SqlServerTheoDoiThiDuaDao(); }
        }

        public static IThongKeTaiSanDao ThongKeTaiSanDao
        {
            get { return new SqlServerThongKeTaiSanDao(); }
        }

        public static IThucPhamDao ThucPhamDao
        {
            get { return new SqlServerThucPhamDao(); }
        }

        public static ITrinhDoDao TrinhDoDao
        {
            get { return new SqlServerTrinhDoDao(); }
        }

        public static ITruongDao TruongDao
        {
            get { return new SqlServerTruongDao(); }
        }  
    }
}
